package testes.construtores;

import junit.framework.Assert;
import model.Video;
import org.junit.Test;

public class VideoTest {

	//atributo de instancia
	Video video;

	@Test
	public void testVideoConstrutorPadrao() {
		video = new Video(123, 1, "A Bela e a Fera", "1993", "infantil", 3);
		Assert.assertNotNull(video);
		Assert.assertEquals(123, video.getNumeroCatalogo());
		Assert.assertEquals(1, video.getCategoria());
		Assert.assertEquals("A Bela e a Fera", video.getNome());
		Assert.assertEquals("1993", video.getAno());
		Assert.assertEquals("infantil", video.getGenero());
		Assert.assertEquals(3, video.getQuantidade());
	}

}
